﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TimeTravel.Components;
using TimeTravel.Extentions;
using TimeTravel.IData;
using TimeTravel.DataProvider;
using TimeTravel.IServices;

namespace TimeTravel.Services
{
    public class SysRoleService:ISysRoleService
    {
        private static readonly ISysRoleData DataProvider = DataAccess.CreateDataInstance<ISysRoleData>();

        #region Implementation of IServiceBase<SysRoleInfo>

        /// <summary>
        /// 添加记录
        /// </summary>
        public int Add(SysRoleInfo t)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 删除记录
        /// </summary>
        /// <param name="id"></param>
        public void Delete(int id)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 更新记录
        /// </summary>
        /// <param name="t"></param>
        public void Update(SysRoleInfo t)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 获取所有
        /// </summary>
        /// <returns></returns>
        public IList<SysRoleInfo> GetAll()
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 根据条件获取
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        public RecordSet<SysRoleInfo> GetBySearch(PageQueryInfo query)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 获取详细信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public SysRoleInfo GetOne(int id)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 获取总数
        /// </summary>
        /// <returns></returns>
        public int GetTotalCount()
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
